package com.pz.gateway.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "server")  //对应nacos配置文件yaml
public class PatternProperties {
    private String port;
}
